package com.zhenwei.zscm.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zhenwei.zscm.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 
 * @TableName product_part
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value ="product_part")
@Data
public class ProductPartEntity extends BaseEntity {
    /**
     * 产品id
     */
    private String productCode;

    /**
     * 产品名称
     */
    private String productName;

    /**
     * 备件名称
     */
    private String partName;

    /**
     * 价格
     */
    private BigDecimal price;
}